#include "person.h"

using namespace std;

namespace A {
    void Person::setName(char *name) {
        this->name = name;
    }

    void Person::setAge(int age) {
        this->age = age;
    }

    void Person::setWork(char *work) {
        this->work = work;
    }

    void Person::printInfo(void) {
        cout << "name = " << name << ", age = " << age << ", work = " << work << endl;
    }

    void printVersion(void) {
        printf("Person v1, by waylon\n");
    }
}